"""测试基本对象"""


class BaseOb:
    def __init__(self):
        pass

    def beforeTest(self):
        """测试预备操作"""
        self.clearData()
        self.prepareData()

    def afterTest(self):
        """测试结束操作"""
        pass

    def test(self):
        pass

    def run(self):
        self.beforeTest()
        self.test()
        self.afterTest()

    def prepareData(self):
        pass

    def clearData(self):
        pass

